<?php

namespace App\Ship\Traits;

use App\Containers\AppSection\Profile\Tasks\CheckProfileQualificationStatusTask;

trait QualificationStatusPermissionTrait
{

    public function profileIsQualified(): bool
    {
        return app(CheckProfileQualificationStatusTask::class)->run($this->profile()->id, ['qualification_qualified'], true);
    }
}
